<template>
	<view>
		<!-- <template v-if="list.length > 0">
			<slot></slot>
			<uni-load-more color="#999" :status="status" v-if="list.length > 0"></uni-load-more>
		</template> -->
		<view class="nomore" v-if="list.length === 0 && !loading">
			<view class="nomore-text">
				<image src="/pagesShop/static/zanwu.png" mode="widthFix"></image>
				<view>暂无数据</view>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		props:{
			list: {
				type: Array,
				default() {
					return []
				}
			},
			status: {
				type: String,
				default: ''
			},
			loading: {
				type: Boolean,
				default: false
			},
		}
	}
</script>

<style lang="scss" scoped>
	.nomore {
		display: flex;
		justify-content: center;
		align-items: center;
		margin-top: 200rpx;
	}
	
	.nomore-text {
		text-align: center;
		font-size: 30rpx;
		
		image {
			width: 200rpx;
			height: auto;
			margin-bottom: 20rpx;
		}
	}
</style>
